package tech.yangzhijie.basic.java06.test0501;

public class Triangle extends MyGraphic {

    private double a;
    private double gao;
    @Override
    public double area() {
        return (1/2)*a*gao;
    }
}
